/*
 * @Description  : 用户管理
 * @Author       : zhao
 * @Date         : 2022-07-25 10:42:56
 * @LastEditors  : zhao
 * @LastEditTime : 2023-02-02 17:02:06
 */
import request from '/@/utils/request';

// 获取借阅用户管理
export function GetUserInfo(data) {
    return request({
        url: '/api/Userinformation/GetUserInfo',
        method: 'get',
        params: data
    })
}
// 获取系统用户管理
export function GetSysUserInfo(data) {
    return request({
        url: '/api/Userinformation/GetSysUserInfo',
        method: 'get',
        params: data
    })
}
// 新增用户
export function Registered(data) {
    return request({
        url: '/api/Userinformation/Registered',
        method: 'post',
        data: data
    })
}
// 修改用户
export function UpdateSysUser(data) {
    return request({
        url: '/api/Userinformation/UpdateSysUser',
        method: 'post',
        data: data
    })
}
// CS获取借阅单位
export function GetWorkCompany(data) {
    return request({
        url: '/api/Userinformation/GetWorkCompany',
        method: 'get',
        params: data
    })
}
// 密码重置
export function PasswordRecord(data) {
    return request({
        url: '/api/Userinformation/PasswordRecord',
        method: 'post',
        data: data
    })
}
// CS删除管理员用户
export function DeleteSysUser(data) {
    return request({
        url: '/api/Userinformation/DeleteSysUser',
        method: 'post',
        data: data
    })
}
// 
export function CSGetBorrowingForm(data) {
    return request({
        url: '/api/WebSocket/CSGetBorrowingForm',
        method: 'post',
        data: data
    })
}
//矿种
export function GetArchiveList(data) {
    return request({
        url: '/api/MineralInfo/Get',
        method: 'get',
        data: data
    })
}